cc.Class({
    extends: cc.Component,

    properties: {
        
    },

    // LIFE-CYCLE CALLBACKS:

    // onLoad () {},

    start () {
        var winSize = cc.winSize;
        var black = this.node;
        let scale1 =  winSize.width/black.width;
        let scale2 = winSize.height/black.height;
        let scale = scale1>scale2?scale1:scale2;
        black.scaleX = scale;
        black.scaleY = scale;
    },

    // update (dt) {},
});
